#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include"queue.h"
#include"stack.h"
#include<stack>
#include<queue>

using namespace std;
int main()
{
	std::queue<int> v1;
	v1.push(1);
	v1.push(2);
	v1.push(3);
	v1.push(4);
	cout << v1.size() << endl;
	while (!v1.empty())
	{
		cout << v1.front() << " ";
		//cout << v1.back() << " ";
		v1.pop();
	}
	cout << endl;

	yhh::stack<int> v2;
	v2.push(1);
	v2.push(2);
	v2.push(3);
	v2.push(4);
	v2.push(5);
	v2.push(6);
	cout << v2.size() << endl;
	while (!v2.empty())
	{
		cout << v2.top() << " ";
		v2.pop();
	}
	cout << endl;
	return 0;
}
